//
//  FJEditorInputView.h
//  OnionHome
//
//  Created by fengjie on 2019/10/15.
//  Copyright © 2019 FengJie. All rights reserved.
//

#import <UIKit/UIKit.h>

@class FJEditorInputStyleModel;

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    FJEditorInputViewStyle,//样式选择
    FJEditorInputViewLine,//分割线、打赏
    
} FJEditorInputViewType;


typedef void(^didselectCell)(FJEditorInputStyleModel * model);

@interface FJEditorInputView : UIView

/**<#属性#>*/
@property (nonatomic,assign)FJEditorInputViewType type;
/**点击完成回调*/
@property (nonatomic,copy)tapCellButtonAction completeBlock;
/**点击样式回调*/
@property (nonatomic,copy)didselectCell selectCellBlock;
@end


@interface FJEditorInputStyleModel : NSObject
-(instancetype)initWithTitle:(NSString *)title TitleColor:(UIColor *)titleColor TitleFont:(UIFont *)titleFont FontValue:(NSInteger)fontValue;
/**<#属性#>*/
@property (nonatomic,strong)NSString*title;
/**<#属性#>*/
@property (nonatomic,strong)UIColor*titleColor;
/**<#属性#>*/
@property (nonatomic,strong)UIFont*titleFont;
/**<#属性#>*/
@property (nonatomic,assign)NSInteger fontValue;
@end



@interface FJEditorInputCell : UITableViewCell
/**<#属性#>*/
@property (nonatomic,strong)FJEditorInputStyleModel*model;
@end

NS_ASSUME_NONNULL_END
